package com.ca.project.Server.Modules.RotatingChat.Converter;

import com.ca.project.Server.Modules.RotatingChat.Context.UploadRotatingChatContext;
import com.ca.project.Server.Modules.RotatingChat.Entity.Rotatingchat;
import com.ca.project.Server.Modules.RotatingChat.PO.UploadRotatingChatPO;
import org.mapstruct.Mapper;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.RotatingChat.Converter
 * @NAME: RotatingChatConverter
 * @USER: ASUS
 * @DATE: 31/12/2024
 * @TIME: 下午2:47
 **/
@Mapper(componentModel = "spring")
public interface RotatingChatConverter {
    UploadRotatingChatContext UploadRotatingChatPO2UploadRotatingChatContext(UploadRotatingChatPO uploadRotatingChatPO);

    Rotatingchat UploadRotatingChatContext2Rotatingchat(UploadRotatingChatContext uploadRotatingChatContext);
}
